#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time       :   11:39
# Author     : Y4
# Site       :
# File       : 01 字符串-索引.py
# Software   : PyCharm

name = 'kene'

print(name[0])  # k

print(name[-1]) # e

